package com.ssm.service;

import com.ssm.entity.Teacher;
import com.ssm.entity.UmTeacher;

import java.util.List;

public interface TeacherService {
    Teacher login(String username, String password);

    List<UmTeacher> listAllTeacher();
    Integer createTeacher(UmTeacher umTeacher);
    Integer update(UmTeacher umTeacher);
    Integer deleteTeacher(int id);
    UmTeacher getUmTeacher(int id);
}
